package com.cqrcb.cloud.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.autoconfigure.web.ServerProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * 多租户配置
 * @author zlt
 * @date 2019/8/5
 */
@Data
@ConfigurationProperties(prefix = "sftp.services")
@Component
public class SftpProperties {

    private List<SftpServerProperties> servers = new ArrayList<>();
}
